package Testclass;

import javax.servlet.*;
import javax.servlet.annotation.WebServlet;
import java.io.IOException;

@WebServlet("/login1")
public class UserRequest1 extends GenericServlet {
    @Override
    public void service(ServletRequest servletRequest, ServletResponse servletResponse) throws ServletException, IOException {
        String user = servletRequest.getParameter("user");
        String pwd = servletRequest.getParameter("pwd");
        System.out.println("user1 = " + user);
        System.out.println("pwd1 = " + pwd);

    }
}
